package Service;

import Entity.Person;
import java.util.List;

public interface PersonService {
    boolean save(Person person);
    boolean delete(Integer id);
    boolean update(Person person);
    Person getById(Integer id);
    List<Person> getAll();
    List<Person> getByName(String name);
    List<Person> getByPosition(String position);
    List<Person> getByStatus(String status);
    List<Person> getByPhone(String phone);
    List<Person> getByEmail(String email);
}